package unit5;

import java.util.Date;

/**
 * 
 * @author asus
 *
 */
public class EqualsTest {
	public static void main(String[] args) {
		Employee e1=new Employee("m",50000,new Date());
		System.out.println(e1.toString());
		Employee e2=new Employee("t",78000,new Date());
		Employee e3=new Employee("t",78000,new Date());

		System.out.println(e2.equals(e3));
		
		System.out.println(e3==e2);
	}
}
